{include file='public/header.html'}

<div class="container mtn">

    <div class="panel panel-default">
        <div class="panel-heading">
            用户登录
            <span class="pull-right"><a href="javascript:history.back(-1);">返回</a></span>
        </div>
        <div class="panel-body">
            <form class="form-horizontal submit-ajax" role="form" action="" method="post">
                <input type="hidden" name="referer" value="__HISTORY__">
                <div class="form-group">
                    <label for="username" class="col-sm-2 control-label">用户名</label>
                    <div class="col-sm-10">
                        <input type="text" id="username" name="username" class="form-control" style="width:auto;" placeholder="请输入用户名" value="{:input('get.from','','clear_html')}"/>
                    </div>
                </div>
                <div class="form-group">
                    <label for="password" class="col-sm-2 control-label">密&nbsp;&nbsp;&nbsp;&nbsp;码</label>
                    <div class="col-sm-10">
                        <input type="password" id="password" name="password" class="form-control" style="width:auto;" placeholder="请输入密码" value=""/>
                    </div>
                </div>
                <div class="form-group">
                    <label for="captcha" class="col-sm-2 control-label">验证码</label>
                    <div class="col-sm-10">
                        <input name="captcha" id="captcha" type="text" class="form-control" style="width:auto;display: inline-block;" placeholder="请输入验证码"/>
                        <img src="{:url('user/captcha')}" style="cursor:pointer;" onclick="this.src='{:url('user/captcha')}?'+Math.random();"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">&nbsp;</label>
                    <div class="col-sm-10">
                        <input type="submit" value="登录" class="btn btn-primary"/>
                        <a href="{:url('user/register')}" class="btn btn-default">注册</a>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">快速登录</label>
                    <div class="col-sm-10">
                        <a href="#"><img src="__STATIC__/img/bt_blue_76X24.png" alt="qq login" /></a>
                    </div>
                </div>
            </form>
        </div>
    </div>

</div>

{include file='public/footer.html'}
</body>
</html>